package com.wyix.log.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置属性开关
 * @author wangdx
 * @since 2025/8/20
 */
@ConfigurationProperties(prefix = "milktea.log")
@Data
public class MilkTeaLogProperties {
    //默认启用日志
    private boolean enabled = true;
    //日志级别：DETAIL（详细）/SIMPLE（简单）
    private String level = "SIMPLE";
    //是否打印订单配料详情
    private boolean printIngredients = false;
}
